<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="initial-scale=1.0, user-scalable=no">
    <title>Document</title>

    <!-- 一.引入资源 -->
    <script type="text/javascript">
        window._AMapSecurityConfig = {
            securityJsCode: 'f9658ed3f84f0763d2afd356a1ff6542',
        }
    </script>
    <script type="text/javascript" src="https://webapi.amap.com/maps?v=2.0&key=e94552d14a617c12cf98ea07b0d7b607"></script>
    <!-- 三设置地图样式 -->
    <style type="text/css">
        html,
        body,
        #container {
            width: 100%;
            height: 100%;
        }
    </style>
</head>

<body>
    <!-- 二.创建地图容器 -->
    <div id="container"></div>
    <!-- 四.加载地图 -->

    <script>
        // 定义一个变量，保存一个对象
        var map = new AMap.Map('container', {
            center: [114.3, 30.6], //设置地图中心点的经纬度
            zoom: 12, //地图缩放的比例（3-20）
            viewMode: '3D', //3d
            pitch: 45 //倾斜
        })
    </script>
</body>

</html>